<script>
    "use strict";
    export default {
        data: {},
        methods: {},
        onLaunch: function(options) {
            console.log('app.onLaunch, this:', this);
            // 入口不一定是 onLaunch，如果是其它地方调用，重新获取参数
            if (typeof(options) == 'undefined' || options == null) {
                options = uni.getLaunchOptionsSync();
            }

            console.log("app.onLaunch, options:", options);
            this.$util.extractParams(this, options.query);
        },
        onShow: function() {
            console.log("App Show");
        },
        onHide: function() {
            console.log("App Hide");
        },
    };
</script>

<style>
    /*每个页面公共css */
    page {
        font-size: 25rpx;
        background: #e7e7e7;;
		font-weight: 500;
		font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
    }

    .wexinBackground {
        background: #32cd32 !important;
    }

    .alipayBackground {
        background: #007aff !important;
    }

    .weixinColor {
        color: #32cd32;
    }

    .alipayColor {
        color: #007aff;
    }

    .noMore {
        margin: 50rpx;
        text-align: center;
        color: grey;
    }

    .empty {
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        /* background: white; */
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #808080;
        text-align: center;
        font-size: 35rpx;
        font-weight: 600;
    }

    .empty image {
        height: 25vw;
        width: 32vw;
        margin-bottom: 20rpx;
    }
</style>